package com.csjbot.weedle_auto.SerialServer.util.bean

/**
 * author : chenqi.
 * e_mail : 1650699704@163.com.
 * create_time : 8/14/17.
 */

class SerialPortEvents {
    var event: Event? = null
        private set
    var m: Any? = null


    constructor(event: Event, msg: Any) {
        this.event = event
        this.m = msg
    }

    constructor(event: Event) {
        this.event = event
    }

    enum class Event {
        WAKEUP,
        OA,
        INFRARED,
        TOUCH,
        SNUP,
        SNDOWN,
        OTHER
    }

}
